package edu.czjtu.geesonke_demo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by jinkun.tian on 2023/9/18
 */
@Data
public class Menu  implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    // 店铺id
    private Long shopId;

    // 菜品id
    private Long dishId;

    // 套餐id
    private Long setmealId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
}
